package club.banyuan.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Jonathan Ten
 * @version 1.0
 */
@RestController
public class Index {
    @RequestMapping("/index")
    public String index(){
        return "欢迎来到首页2";
    }

    @RequestMapping("/welcome")
    public String welcome(){
        return "欢迎光临!";
    }
}
